/**********************
 * *****************************
> Copyright (C) 2024 ==LENA== All rights reserved.
> File Name: 作业7.12晚.c
> Author: lena
> Mail:lena_li@126.com
> Created Time: 2024年07月12日 星期五 01时41分50秒
***************************************************/

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
void mystrcopy(char *dest, char*src);	
int strFindChLocal(char* s1,char ch);
int mystrlen( char*s);
void mystrcopy(char *dest, char*src);
char *get(char *dest,char *src);//去掉字符串
char *str(char *s1,char ch);    //去掉字符
int main(int argc,const char* argv[])
{

    return 0;
}
char *get(char *dest,char *src){
//src -----ip:
//"IP:192.168.0.135,port:10086"
char *start=NULL;
char *end=NULL;
void mystrcopy(char *dest, char*src){
		int i =0;
		//char str[] = "hello" 初始化自动添加结束标志
		while(dest[i] != '\0')
		{
			dest[i] = src[i];
			i++;
		}
		dest[i] = '\0';}
int mystrlen( char*s)
		{
			int i = 0;
			while(s[i]!='\0') //for(i = 0;s[i]!='\0';i++)
			{
				i++;
			}
			return i;
		}
int strFindChLocal( char* s1,char ch){
	int i=0;
	while(str[i]!='\0')
		{
			if(str[i]==ch)
			{
				countch = i;
				break;
			}
			i++;
		}
}
	void mystrcopy(char *dest, char*src){
		int i =0;
		//char str[] = "hello" 初始化自动添加结束标志
		while(dest[i] != '\0')
		{
			dest[i] = src[i];
			i++;
		}
		dest[i] = '\0';}
		}
